﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// Invalid credentials supplied to the registration request, 
	/// or invalid token. Request registration again.
	/// </summary>
	public class AuthenticationFailed : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.AuthenticationFailed class.
		/// </summary>
		public AuthenticationFailed(Exception innerException)
			: base(1, innerException, "Invalid credentials supplied to the registration request, or invalid token. Request registration again.")
		{
		}
	}
}
